Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class EntityMatch<T>(val match: T, val score: <Error class: unknown class>, val source: String)
Match for an entity
Link copied to clipboard
Find entities matching a description.
Link copied to clipboard
data class FindEntitiesResponse<T>(val request: FindEntitiesRequest, val matches: List<EntityMatch<T>>)
Link copied to clipboard
Allows querying using natural language. Querying using natural language is subjective, thus results have a confidence score.
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <T : Any, ID> <Error class: unknown class><T, ID>.findOneFromContent(content: String, noinline idGetter: (T) -> ID?, context: OperationContext, llm: <Error class: unknown class> = LlmOptions(), noinline confirmOne: (match: EntityMatch<T>) -> ConfirmationRequest<T>? = { null }): T?
Convenient function to call from actions.